package lp.xian.production.vo;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MarketVo  extends BaseEntity {
    private Integer marketId;
    private String orderStatus;
    private String clientNum;//退货数量
    private Integer returnContent;//退货原因
    private String returnOrderNo;//退货单号
    private Integer auditStatus;//审核状态
    private String auditOpinion;//审核原因
    private Date auditTime;//审核时间
    private String auditPerson;//审核人

    private String orderNo;//订单号
    private String orderName;//订单名称
    private Integer clienId;//客户id
    private Integer marketNum;//销售数量
    private BigDecimal marketPrice;//单价
    private String marketUnit;//单位
    private BigDecimal marketTotal;//金额合计
    private BigDecimal marketTax;//含税合计




    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("marketId", getMarketId())
                .append("orderStatus", getOrderStatus())
                .append("clientNum", getClientNum())
                .append("returnContent", getReturnContent())
                .append("auditStatus", getAuditStatus())
                .append("auditOpinion", getAuditOpinion())
                .append("auditTime", getAuditTime())
                .append("auditPerson", getAuditPerson())
                .append("orderNo", getOrderNo())
                .append("orderName", getOrderName())
                .append("clienId", getClienId())
                .append("marketNum", getMarketNum())
                .append("marketPrice", getMarketPrice())
                .append("marketUnit", getMarketUnit())
                .append("marketTotal", getMarketTotal())
                .append("marketTax", getMarketTax())
                .toString();
    }
}
